using System.Web.Security;

namespace Be.Timvw.Framework.Web.Tests.Security.OneTimePasswordMembershipProvider
{
    public class MockMembershipUser : MembershipUser
    {
        private readonly string password;
        private readonly string username;

        public MockMembershipUser(string username)
        {
            this.username = username;
        }

        public MockMembershipUser(string username, string password)
        {
            this.username = username;
            this.password = password;
        }

        public override string UserName
        {
            get { return this.username; }
        }

        public override string GetPassword()
        {
            return this.password;
        }
    }
}